package com.hyacinth.lotterysystem.dto.req;

import com.hyacinth.lotterysystem.dto.param.CreateActivityPrizeParam;
import com.hyacinth.lotterysystem.dto.param.CreateActivityUserParam;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

/**
 * @Author: Yun
 * @Date: 2025/10/4
 */
@Data
public class CreateActivityReq {
    @NotBlank(message = "活动名称不能为空!")
    private String activityName;
    @NotBlank(message = "活动描述不能为空!")
    private String description;

    @Valid
    @NotEmpty(message = "活动管理奖品列表不能为空!")
    private List<CreateActivityPrizeParam> activityPrizeList;

    @Valid
    @NotEmpty(message = "活动管理人员列表不能为空!")
    private List<CreateActivityUserParam> activityUserList;
}
